//TODO ESTA EN RESOURCES
//dataSource {
////	pooled = true
//	dbCreate = "update"
//	driverClassName = "com.mysql.jdbc.Driver"
//	url = "jdbc:mysql://200.55.240.50:3306/dietetica" //?autoReconnect=true"
//	username = "dietetica"
//	password = "Dietetica123"
//}
hibernate {
    cache.use_second_level_cache = true
    cache.use_query_cache = true
    cache.provider_class = 'net.sf.ehcache.hibernate.EhCacheProvider'
}
// environment specific settings
//environments {
//    development {
//        dataSource {
//
//        }
//    }
//    test {
//        dataSource {
//            dbCreate = "update"
//            url = "jdbc:hsqldb:mem:testDb"
//        }
//    }
//    production {
//        dataSource {
//            dbCreate = "update"
//            url = "jdbc:hsqldb:file:prodDb;shutdown=true"
//        }
//    }
//}


//			properties {
//				maxActive = 50
//				maxIdle = 25
//				minIdle = 1
//				initialSize = 1
//				minEvictableIdleTimeMillis = 60000
//				timeBetweenEvictionRunsMillis = 60000
//				numTestsPerEvictionRun = 3
//				maxWait = 10000
//
//				testOnBorrow = true
//				testWhileIdle = true
//				testOnReturn = false
//
//				validationQuery = "SELECT 1"
//			}